<?php
/**
 * User: zhangligang
 * Email: tzhang2450@163.com
 * Date: 2018/7/25
 * Time: 上午7:00
 * desc: 人事处
 */

namespace App\Http\Controllers;


use Illuminate\Http\Request;

class HroController extends Controller
{

    public function __construct()
    {
        parent::__construct();
    }

    public function teacherIndex(Request $request)
    {
        return $this->baseView($request, 'hro.teacher.index', ['menu' => 'teacher', 'sub' => 'index']);
    }

    public function teacherView(Request $request, $id)
    {
        return $this->baseView($request, 'hro.teacher.view', ['menu' => 'teacher', 'sub' => 'index', 'id' => $id]);
    }
}